﻿<%@ Page Title="修改密码" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="PEdit.aspx.cs" Inherits="PEdit" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="head"></asp:Content>
<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<script type="text/javascript">
    function con() {
        if (confirm("确定要修改吗？")) {
            return true;
        }
        else {
            return false;
        }
    }
</script>
    <table style="width:500px">
<tr>
<td>原始密码</td>
<td><asp:TextBox ID="txtopwd" runat="server" TextMode="Password" MaxLength="16"></asp:TextBox></td>
</tr>
<tr>
<td>新密码</td>
<td><asp:TextBox ID="txtnpwd" runat="server" TextMode="Password" MaxLength="16"></asp:TextBox></td>
</tr>
<tr>
<td>请再输一次新密码</td>
<td><asp:TextBox ID="txtnpwd2" runat="server" TextMode="Password" MaxLength="16"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2"><asp:Button ID="btnUpdate" runat="server" Text="确认修改" OnClientClick="return con();" 
        onclick="btnUpdate_Click" CssClass="btn btn-primary" /></td>
</tr>
        
</table>
    
</asp:Content>